zynq: Remove zynq_clk_get_name function
authorStefan Herbrechtsmeier <[email protected]>
Tue, 17 Jan 2017 15:27:28 +0000 (16:27 +0100)
committerMichal Simek <[email protected]>
Fri, 17 Feb 2017 09:22:46 +0000 (10:22 +0100)
commitf96fccba7152dac3e83bfe3366932b9d78a98293
tree62a14571efcac9d6071e2a16db6c55f474b3986c
parente18c0f667ee9b9aea28e5af4b5ccc5e1ca54d214
zynq: Remove zynq_clk_get_name function

The zynq_clk_get_name function is only used once inside the clock
driver. Replace the function call with the one-line code.

Signed-off-by: Stefan Herbrechtsmeier <[email protected]>
Reviewed-by: Michal Simek <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
arch/arm/mach-zynq/clk.c
arch/arm/mach-zynq/include/mach/clk.h